Yes, I’m finally gearing towards the release of my html2text.php
successor, dubbed Markdownify. I’m using exessive testing and utilize the MDTest suite to find potential regressions etc. I’m really enjoying to program little CLI scripts with PHP, it just works like a charm.
Here’s an example of how my test suite currently looks like:
To the left is the original input (HTML), in the middle you find the generated Markdown and to the right HTML again - but now generated via PHP Markdown by Michel Fortin. The pretty colors mark changes between the two HTML versions. I use PEAR Text_Diff for this and a little of my own code. But since all of the existing diff engines for Text_Diff took ages for the Markdown Documentation (~400 lines afair), I wrote a Text_Diff engine which utilizes [shell_exec](http://www.php.net/shell_exec)()
and GNU diff. This is blazingly fast and works like a charm! You can get the source code over at pastebin.org. Also take a look on the feature request I made. Dunno if this was the correct place for that…
continue reading...
Hey all!
I’m now abusing the fact that my blog is aggregated on the planet to bring this diamond of a documentary some more coverage it deserves so greatly. I’m speaking about Rip: A remix Manifesto. Go and watch it. Now!
I bet every single FOSS user, developer, advocate thrives in watching it. I’m totally blown away and hope that as many people as possible watch it.
And gosh - open source cinema , how cool is that :)
continue reading...
Today at work I had my first contact with Redaxo, a German contact management system written in PHP and based on MySQL. I’ve heard of it before but never used it, there always seemed to exist better solutions - Drupal for example. But the company I work for already committed itself to Redaxo for this client. So no chance to work with Drupal this time - a pity.
But new experience with other solutions is a great thing. I thought Redaxo had its right to exist: its very small.
Here I don’t mean the filesize or whatever - I mean the size of the admin panel to begin with. It has not that many features. It’s very easy to understand. The average John Doe which is not that websavvy wont be confused by a multitude of choices. And I think I got to know pretty much all of Redaxo in just a few hours — which I can’t say about the steep learning curve of Drupal. And since the website of this client will be small I first thought Redaxo will do quite good.
The deeper I dug into Redaxo the more annoyed I got by its shortcomings though: There are modules and addons with which you can do pretty much all you need. But not one module I used was ready out of the box. Always I had to do adjustments. Drupal does much better here. And what you can do with overloading in Drupal is millions of light years ahead of what Redaxo is able to do. Oh and the developers of Redaxo really should take a look at Drupals documentation! After some searching on the official website I stuck to grep -R "function XXX" .
for Api references…
continue reading...
I’ve got a pretty well working spam module for Drupal 6 now. Please test it, you can get the most up-to-date tarball here:
http://drupal.org/node/222849
Take the last tarball available, should be the best. I’m planning on testing it live on this site. On my localhost testbox it worked pretty well.
continue reading...
I’ve just released a second Markdownify Beta with better PHP 4 support and some other small bug fixes. You can download it from sourceforge.
continue reading...
Finally I’ve completed the Markdownify website. Also I’ve released the first beta, here the news text from SourceForge:
This is the first beta release of Markdownify - the HTML to Markdown converter for PHP.
It is very stable and should handle nearly all features of Markdown and Markdown Extra syntax. Missing are only two things:
- “Markdown inside block elements” for Markdownify Extra
These two things will be added before the first “stable” release. Additionally some performance improvements will hopefully be added.
You are encouraged to use this release in your web applications. Please let me know if you find any bugs. Also a code review by anyone would be very much appreciated!
Download it now
continue reading...
I came across a very interesting paper about “GPLv2 vs GPL v3” , subbed :
The two seminal open source licenses, their roots, consequences and repercussions
Analysing, understanding and interpreting the GPLv2 and GPLv3 licenses
Must read for every Linux user in my opinion!
Download it here:
http://www.linuxdevices.com/news/NS7621424054.html
continue reading...
Woha, I’d never imagined it to be so easy to create a customized Linux Live CD. Just grab the scripts from linux-live.org and follow their instructions. That way you can bind your current system on a dvd (or usb stick or whatever) and run it from everywhere!
I’ve done it with a CentOS 5 installation which was setup in a vmware. A simple scp
to a real linux installation and burning the created iso to a DVD RW (via K3B) and now I got my own little live cd.
continue reading...
Oh no, it’s over! No more LinuxTag for at least a year. It was such a good event, I can’t tell you!
I’ve been standing at the Kubuntu-De.org booth with czessi, \sh, serenity, coastgnu, emonkey and monika and it was a pleasure working with them! It’s great to get to know all those people from irc in real life! Additionally we had support by the Amarok team (gnux, sven423 and nightrose) and especially apachelogger - a loud howl goes out to you guys (and gal nightrose)!
But I must not forget our booth neighbours: Ubuntu, linux4africa / Edubuntu and OpenOffice - thank you so much, I looking forward to share a booth place with you again sometime! A thanks in particular goes out to linux4africa for sharing their coffee machine with us - I fear I would have fallen asleep otherwise ;-) And thanks to O’Reilly for giving away free beer, there is nothing better when you have a hangover…
continue reading...